<template>
  <div class="item_show_container">
    <el-image :src="Build(iconUrl)" class="image"></el-image>
  </div>
</template>

<script>
export default {
  name: "buildShow",
  props: ["name", "iconUrl"],
  methods: {
    Build() {
      return this.$img.b_64(this.iconUrl);
    },
  },
};
</script>

<style scoped>
.item_show_container {
  /* border: 1px solid black; */
  border-radius: 4px;
  padding: 4px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  margin: 5px;
  float: left;
}
.image {
  width: 40px;
  height: 40px;
  margin: 4px;
}
</style>
